package cn.gson.boot.model.pojos;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.List;

public class UserLogin {
    private int empId;//员工编号
    private String empName;//员工名称
    private String empPwd;//密码
    private String empPhone;//电话号码
    private String empIdentity;//用户身份证
    private Timestamp empTime;//注册时间
    private String empJob;//是否在职
    private String empSex;//性别
    private String empAddress;//员工地址
    private UserLoginDept userLoginDept;//部门id
    private String empImg;//头像

    public String jsList;

    private List<Role> roleListss;

    public List<Role> getRoleListss() {
        return roleListss;
    }

    public void setRoleListss(List<Role> roleListss) {
        this.roleListss = roleListss;
    }

    //private List<Sort> sortList;
    //private List<Gong> gongList;

    public int getEmpId() {
        return empId;
    }

    public void setEmpId(int empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpPwd() {
        return empPwd;
    }

    public void setEmpPwd(String empPwd) {
        this.empPwd = empPwd;
    }

    public String getEmpPhone() {
        return empPhone;
    }

    public void setEmpPhone(String empPhone) {
        this.empPhone = empPhone;
    }

    public String getEmpIdentity() {
        return empIdentity;
    }

    public void setEmpIdentity(String empIdentity) {
        this.empIdentity = empIdentity;
    }

    public Timestamp getEmpTime() {
        return empTime;
    }

    public void setEmpTime(Timestamp empTime) {
        this.empTime = empTime;
    }

    public String getEmpJob() {
        return empJob;
    }

    public void setEmpJob(String empJob) {
        this.empJob = empJob;
    }

    public String getEmpSex() {
        return empSex;
    }

    public void setEmpSex(String empSex) {
        this.empSex = empSex;
    }

    public String getEmpAddress() {
        return empAddress;
    }

    public void setEmpAddress(String empAddress) {
        this.empAddress = empAddress;
    }

    public UserLoginDept getUserLoginDept() {
        return userLoginDept;
    }

    public void setUserLoginDept(UserLoginDept userLoginDept) {
        this.userLoginDept = userLoginDept;
    }

    public String getJsList() {
        return jsList;
    }

    public void setJsList(String jsList) {
        this.jsList = jsList;
    }

    public String getEmpImg() {
        return empImg;
    }

    public void setEmpImg(String empImg) {
        this.empImg = empImg;
    }
}
